﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DoAn_QuanLyCafe
{
    public partial class frmLoad : Form
    {
        int cu=0, moi=0;

        public frmLoad()
        {
            InitializeComponent();
        }

        private void frmLoad_Load(object sender, EventArgs e)
        {
            timer1.Start();
            
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            moi= (timer1.Interval/1000);
            cu += moi;
            if (cu == 3)
            {
                frmQuanLyCafe f = new frmQuanLyCafe();
                f.Show();
                this.Visible = false;
            }
        }
    }
}
